<template lang="pug">
  kalix-dialog.user-add(title='查看' bizKey="LiveRooms" ref="kalixBizDialog" v-bind:formModel.sync="formModel"  isView)
    div.el-form(slot="dialogFormSlot")
      el-form-item.short(label="直播流地址" prop="liveUrl" v-bind:label-width="labelWidth" v-bind:rules="rules.liveUrl")
        el-input(v-model="formModel.liveUrl")
      el-form-item.short(label="直播间ID" prop="liveId" v-bind:label-width="labelWidth" v-bind:rules="rules.liveId")
        el-input(v-model="formModel.liveId")
      el-form-item.short(label="直播间名称" prop="liveName" v-bind:label-width="labelWidth" v-bind:rules="rules.liveName")
        el-input(v-model="formModel.liveName")
      el-form-item.short(label="用户ID" prop="userId" v-bind:label-width="labelWidth" v-bind:rules="rules.userId")
        el-input(v-model="formModel.userId")
      el-form-item.short(label="用户名称" prop="userName" v-bind:label-width="labelWidth" v-bind:rules="rules.userName")
        el-input(v-model="formModel.userName")
      el-form-item.short(label="审核状态" prop="examine" v-bind:label-width="labelWidth" v-bind:rules="rules.examine")
        el-input(v-model="formModel.examine")
</template>

<script type="text/ecmascript-6">
  import FormModel from './model'
  export default {
    name: 'LiveRoomsView',
    data() {
      return {
        rules: {
        },
        formModel: Object.assign({}, FormModel),
        labelWidth: '120px',
        options: []
      }
    }
  }
</script>

<style scoped lang="stylus" type="text/stylus">

</style>
